package com.yunxi.account.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 帐户组
 * </p>
 *
 * @author 
 * @since 2019-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)

@ApiModel(value="AccountGroup对象", description="帐户组")
public class AccountGroupVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账户组id")
    private String accountGroupId;

    @ApiModelProperty(value = "账户组code")
    private String accountGroupCode;

    @ApiModelProperty(value = "账户组名称")
    private String accountGroupName;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "账户组属性")
    private List<AccountGroupPropVO> accountGroupPropVOList = new ArrayList<>();


}
